<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
class PHPExcel_Calculation_Function
{
    private $category;
    private $excelName;
    private $phpExcelName;
    const CATEGORY_CUBE = "Cube";
    const CATEGORY_DATABASE = "Database";
    const CATEGORY_DATE_AND_TIME = "Date and Time";
    const CATEGORY_ENGINEERING = "Engineering";
    const CATEGORY_FINANCIAL = "Financial";
    const CATEGORY_INFORMATION = "Information";
    const CATEGORY_LOGICAL = "Logical";
    const CATEGORY_LOOKUP_AND_REFERENCE = "Lookup and Reference";
    const CATEGORY_MATH_AND_TRIG = "Math and Trig";
    const CATEGORY_STATISTICAL = "Statistical";
    const CATEGORY_TEXT_AND_DATA = "Text and Data";
    public function __construct($pCategory = NULL, $pExcelName = NULL, $pPHPExcelName = NULL)
    {
        if($pCategory !== NULL && $pExcelName !== NULL && $pPHPExcelName !== NULL) {
            $this->category = $pCategory;
            $this->excelName = $pExcelName;
            $this->phpExcelName = $pPHPExcelName;
        } else {
            throw new PHPExcel_Calculation_Exception("Invalid parameters passed.");
        }
    }
    public function getCategory()
    {
        return $this->category;
    }
    public function setCategory($value = NULL)
    {
        if(!is_null($value)) {
            $this->category = $value;
        } else {
            throw new PHPExcel_Calculation_Exception("Invalid parameter passed.");
        }
    }
    public function getExcelName()
    {
        return $this->excelName;
    }
    public function setExcelName($value)
    {
        $this->excelName = $value;
    }
    public function getPHPExcelName()
    {
        return $this->phpExcelName;
    }
    public function setPHPExcelName($value)
    {
        $this->phpExcelName = $value;
    }
}

?>